#include "RIVIAFileExporterMgr.h"

RIVIAFileExporterMgr *RIVIAFileExporterMgr::getInstance()
{
    static RIVIAFileExporterMgr mgr;
        return &mgr;
}

void RIVIAFileExporterMgr::addExporter(const QString &strFileType, RIVIAFileExporterBase *pExporter)
{
    m_oExportermap.insert(strFileType, pExporter);
}

RIVIAFileExporterBase *RIVIAFileExporterMgr::getExporter(const QString &strFileType)
{
    return m_oExportermap.value(strFileType, nullptr);
}

RIVIAFileExporterMgr::RIVIAFileExporterMgr()
{

}

RIVIAFileExporterMgr::~RIVIAFileExporterMgr()
{

}
